package cn.xfdzx.android.apps.shop.bean;

import java.util.List;

/**
 * @author zf
 * @date 2020/7/20 0015
 * description：关注店铺
 */
public class MyFollowBean {


    /**
     * status : 200
     * data : {"wholesale":[{"goods_status":"1","marketprice":"0.01","discountprice":"0.01","thumb":"https://app-oss.xfdzx.cn/images/6/2020/06/_2020062810345118175300.jpeg","title":"菠菜30斤","sale_num":"138","id":"919","time":1595320262},{"goods_status":"1","marketprice":"28.00","discountprice":"22.60","thumb":"https://xfdzx-app.oss-cn-beijing.aliyuncs.com/images/6/2020/05/tuku_2020050701341572065200.jpg","title":"甜王西瓜17-20斤","sale_num":"118","id":"818","time":1595298195},{"goods_status":"1","marketprice":"0.01","discountprice":"0.01","thumb":"https://app-oss.xfdzx.cn/images/6/2020/06/_2020061902280916425000.jpeg","title":"L600小西瓜包甜3-4斤","sale_num":"168","id":"819","time":1595208496}],"retail":[{"goods_status":"0","marketprice":"0.10","discountprice":"0.01","thumb":"https://app-oss.xfdzx.cn/images/6/2020/06/296_2020061605292890905400.jpg","title":"螺贝类-扇贝","sale_num":"19","id":"921","time":1595322809},{"goods_status":"0","marketprice":"74.00","discountprice":"0.01","thumb":"https://app-oss.xfdzx.cn/images/6/2020/06/tuku_2020060206480905172100.jpg","title":"蓝莓-蓝莓","sale_num":"127","id":"928","time":1595322806}]}
     * msg : ok
     */

    private int status;
    private DataBean data;
    private String msg;

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public static class DataBean {
        private List<WholesaleBean> wholesale;
        private List<RetailBean> retail;

        public List<WholesaleBean> getWholesale() {
            return wholesale;
        }

        public void setWholesale(List<WholesaleBean> wholesale) {
            this.wholesale = wholesale;
        }

        public List<RetailBean> getRetail() {
            return retail;
        }

        public void setRetail(List<RetailBean> retail) {
            this.retail = retail;
        }

        public static class WholesaleBean {
            /**
             * goods_status : 1
             * marketprice : 0.01
             * discountprice : 0.01
             * thumb : https://app-oss.xfdzx.cn/images/6/2020/06/_2020062810345118175300.jpeg
             * title : 菠菜30斤
             * sale_num : 138
             * id : 919
             * time : 1595320262
             */

            private String goods_status;
            private String marketprice;
            private String discountprice;
            private String thumb;
            private String title;
            private String sale_num;
            private String id;
            private long time;

            private int type;

            public WholesaleBean(long time, int type) {
                this.time = time;
                this.type = type;
            }

            public int getType() {
                return type;
            }

            public void setType(int type) {
                this.type = type;
            }
            public String getGoods_status() {
                return goods_status;
            }

            public void setGoods_status(String goods_status) {
                this.goods_status = goods_status;
            }

            public String getMarketprice() {
                return marketprice;
            }

            public void setMarketprice(String marketprice) {
                this.marketprice = marketprice;
            }

            public String getDiscountprice() {
                return discountprice;
            }

            public void setDiscountprice(String discountprice) {
                this.discountprice = discountprice;
            }

            public String getThumb() {
                return thumb;
            }

            public void setThumb(String thumb) {
                this.thumb = thumb;
            }

            public String getTitle() {
                return title;
            }

            public void setTitle(String title) {
                this.title = title;
            }

            public String getSale_num() {
                return sale_num;
            }

            public void setSale_num(String sale_num) {
                this.sale_num = sale_num;
            }

            public String getId() {
                return id;
            }

            public void setId(String id) {
                this.id = id;
            }

            public long getTime() {
                return time;
            }

            public void setTime(long time) {
                this.time = time;
            }
        }

        public static class RetailBean {
            /**
             * goods_status : 0
             * marketprice : 0.10
             * discountprice : 0.01
             * thumb : https://app-oss.xfdzx.cn/images/6/2020/06/296_2020061605292890905400.jpg
             * title : 螺贝类-扇贝
             * sale_num : 19
             * id : 921
             * time : 1595322809
             * type ：自定义类型判断显示头条目还是信息条目
             */

            private String goods_status;
            private String marketprice;
            private String discountprice;
            private String thumb;
            private String title;
            private String sale_num;
            private String id;
            private long time;
            private int type;

            public RetailBean(long time, int type) {
                this.time = time;
                this.type = type;
            }

            public int getType() {
                return type;
            }

            public void setType(int type) {
                this.type = type;
            }

            public String getGoods_status() {
                return goods_status;
            }

            public void setGoods_status(String goods_status) {
                this.goods_status = goods_status;
            }

            public String getMarketprice() {
                return marketprice;
            }

            public void setMarketprice(String marketprice) {
                this.marketprice = marketprice;
            }

            public String getDiscountprice() {
                return discountprice;
            }

            public void setDiscountprice(String discountprice) {
                this.discountprice = discountprice;
            }

            public String getThumb() {
                return thumb;
            }

            public void setThumb(String thumb) {
                this.thumb = thumb;
            }

            public String getTitle() {
                return title;
            }

            public void setTitle(String title) {
                this.title = title;
            }

            public String getSale_num() {
                return sale_num;
            }

            public void setSale_num(String sale_num) {
                this.sale_num = sale_num;
            }

            public String getId() {
                return id;
            }

            public void setId(String id) {
                this.id = id;
            }

            public long getTime() {
                return time;
            }

            public void setTime(long time) {
                this.time = time;
            }
        }
    }
}
